package org.example;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvFileSource;
import org.junit.jupiter.params.provider.CsvSource;



public class JunitTest {
   @Test
   void Test01(){
       System.out.println("========");;
   }


    @ParameterizedTest
    @CsvSource({"'张三',18"})
   void Test02(String name, int age){
        System.out.println("age"+age);
   }


    @ParameterizedTest
    @CsvFileSource(resources = "test01.csv ")
      void Test03(String name, int age){
        System.out.println("name" +name +" "+"age"+" "+age);
    }

}